<html>
<head><meta charset="UTF-8"></head>
<body>
<p id="text">
This tests that composition underline is painted correctly for RTL text on Linuxby typing hello world in arabic.
</p>

<form><input id="input0" type="text" /></form>
<script>
var input0 = document.getElementById("input0");
input0.focus();
input0.value = "مرحبا يا ";
if (window.testRunner) {
  testRunner.setTextDirection("rtl");
  textInputController.setComposition("عالم");
}
</script>
</body>
</html>
